from typing import List, AnyStr

from .student import Student

__all__ = ['Student', 'StudentManager']


class StudentManager:
    students: List[Student]
    dirname: AnyStr
    filename: AnyStr
    def __init__(self) -> None: ...
    def _init_students(self) -> None: ...
    def run(self) -> None: ...
    @staticmethod
    def show_menu() -> None: ...
    def check_student_exist(self, name: str) -> Student | None: ...
    def add_student(self) -> None: ...
    def del_student(self) -> None: ...
    def mod_student(self) -> None: ...
    def list_student(self) -> None: ...
    def show_all_student(self) -> None: ...
    def write2json(self) -> None: ...
